using System;
using System.Collections.Generic;
using System.Text;

namespace TEAM.SerialTXRX
{
    public class DispensarioException:Exception
    {

        const string DefaultMessage="Error en la Comunicacion con el dispensario";
        public DispensarioException(string ExcepMessage, Exception ex)
            : base(String.Format("{0}", ExcepMessage), ex)
        {

        }

        public DispensarioException(string ExcepMessage):
            base(String.Format("{0}-{1}", DefaultMessage, ExcepMessage))
        {

        }
    }
}
